import cssutils

r = cssutils.parseString(
    str({"name":"Alice","age":30,"salary":100})
)

print(r)